package cn.edu.ylu.gaoxin.controller;

import com.jfinal.core.Controller;

import cn.edu.ylu.gaoxin.model.Notices;


/**
 * @author pangPython
 *	2017-03-29
 *	公告控制器
 */
public class NoticeController extends Controller {
	public void index(){
		int notice_id = getParaToInt(0);
		setAttr("notice",Notices.dao.getOne(notice_id));
		render("/notice.html");
		
	}
}
